<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AlterNotifyAddUpdatedAt extends Migrator
{
    public function up()
    {
        $this->table('notify')
            ->addColumn('updated_at', 'timestamp',array('comment'=>'更新时间'))
            ->update();


    }

    public function down()
    {
        $this->table('notify')
            ->removeColumn('updated_at');
    }
}
